<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<f:view>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <title>Editing OpercaoExtra</title>
            <link rel="stylesheet" type="text/css" href="/WebApplication3/faces/jsfcrud.css" /><%@ include file="/WEB-INF/jspf/AjaxScripts.jspf" %><script type="text/javascript" src="/WebApplication3/faces/jsfcrud.js"></script>
        </head>
        <body>
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h1>Editing OpercaoExtra</h1>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="OperacaoExtraId:"/>
                    <h:outputText value="#{opercaoExtra.opercaoExtra.operacaoExtraId}" title="OperacaoExtraId" />
                    <h:outputText value="VendaId:"/>
                    <h:selectOneMenu id="vendaId" value="#{opercaoExtra.opercaoExtra.vendaId}" title="VendaId" >
                        <f:selectItems value="#{venda.vendaItemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputText value="FolhaPagamentoId:"/>
                    <h:selectOneMenu id="folhaPagamentoId" value="#{opercaoExtra.opercaoExtra.folhaPagamentoId}" title="FolhaPagamentoId" >
                        <f:selectItems value="#{folhaPagamento.folhaPagamentoItemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputText value="CompraId:"/>
                    <h:selectOneMenu id="compraId" value="#{opercaoExtra.opercaoExtra.compraId}" title="CompraId" >
                        <f:selectItems value="#{compra.compraItemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputText value="ManutencaoId:"/>
                    <h:selectOneMenu id="manutencaoId" value="#{opercaoExtra.opercaoExtra.manutencaoId}" title="ManutencaoId" >
                        <f:selectItems value="#{manutencao.manutencaoItemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputText value="OperacaoExtraTipoId:"/>
                    <h:selectOneMenu id="operacaoExtraTipoId" value="#{opercaoExtra.opercaoExtra.operacaoExtraTipoId}" title="OperacaoExtraTipoId" required="true" requiredMessage="The operacaoExtraTipoId field is required." >
                        <f:selectItems value="#{operacaoExtraTipo.operacaoExtraTipoItemsAvailableSelectOne}"/>
                    </h:selectOneMenu>
                    <h:outputText value="Valor:"/>
                    <h:inputText id="valor" value="#{opercaoExtra.opercaoExtra.valor}" title="Valor" required="true" requiredMessage="The valor field is required." />
                </h:panelGrid>
                <br />
                <h:commandLink action="#{opercaoExtra.edit}" value="Save">
                    <f:param name="jsfcrud.currentOpercaoExtra" value="#{jsfcrud_class['entidade.controller.JSF.util.JsfUtil'].jsfcrud_method['getAsConvertedString'][opercaoExtra.opercaoExtra][opercaoExtra.converter].jsfcrud_invoke}"/>
                </h:commandLink>
                <br />
                <br />
                <h:commandLink action="#{opercaoExtra.detailSetup}" value="Show" immediate="true">
                    <f:param name="jsfcrud.currentOpercaoExtra" value="#{jsfcrud_class['entidade.controller.JSF.util.JsfUtil'].jsfcrud_method['getAsConvertedString'][opercaoExtra.opercaoExtra][opercaoExtra.converter].jsfcrud_invoke}"/>
                </h:commandLink>
                <br />
                <h:commandLink action="#{opercaoExtra.listSetup}" value="Show All OpercaoExtra Items" immediate="true"/>
                <br />
                <h:commandLink value="Index" action="welcome" immediate="true" />
            </h:form>
        </body>
    </html>
</f:view>
